/**
 * @description 集中导出model
 * @author malin
 */

const User = require('../model/User')
const Pyq = require('../model/Pyq')

// 将User表的主键添加到Pyq表作为外键，外键名：userId
Pyq.belongsTo(User, {
    foreignKey: 'userId'
})

module.exports = {
    User,
    Pyq
}
